<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@page isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title></title>
    <link href="${pageContext.request.contextPath}/static/assets/css/bootstrap.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/static/assets/css/font-awesome.css" rel="stylesheet" />
     <link rel="stylesheet" href="${pageContext.request.contextPath}/static/assets/css/profile.css">
    <link href="${pageContext.request.contextPath}/static/assets/css/custom-styles.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/static/assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
</head>
<body>
    <div id="wrapper">
        <div id="page-wrapper" >
          <div id="page-inner">
			 <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-header">
                           withdraw <small>details</small>
                        </h1>
                    </div>
              </div>  
            <div class="row">
              <div class="col-md-12">
                    <div class="col-sm-12">
                                
                                <div class="col-xs-12 col-sm-8 profile-name col-lg-7" >
                                  <h2>提现详情<span class="pull-right social-profile"> <em class="entypo-facebook-circled"></em> <em class="entypo-twitter-circled"></em> <em class="entypo-linkedin-circled"></em> <em class="entypo-github-circled"></em> <em class="entypo-gplus-circled"></em> </span> </h2>
                                  <hr>
						<form:form commandName="Enchashment" method="post">
							<form:hidden path="id"  value="${Enchashment.id }"/>
                                    <dl class="dl-horizontal-profile">
                                        <dt>用户编号</dt>
                                        <dd>${Enchashment.userCode }</dd>
										
										<dt>真实姓名</dt>	
                                        <dd>${Enchashment.realname }</dd>
                                        
                                        <dt>取现金额</dt>	
                                        <dd>${Enchashment.withdrawals }</dd>
                                        
                                       <%--   <dt>取现时间</dt>
                                        <dd><fmt:formatDate value="${Enchashment.recordTime }" pattern="yyyy-MM-dd HH:mm"/></dd> --%>
                                        
                                        <dt>取现到账账号</dt>	
                                        <dd>${Enchashment.account }</dd>
                                        
                                         <dt>提现账号类型</dt>
                                        <dd><c:choose>
		                                      <c:when test="${Enchashment.accountType == '0' }">
		                                           支付宝
		                                      </c:when>
		                                       <c:when test="${Enchashment.accountType == '1' }">
                                                   微信
		                                       </c:when>
		                                        <c:otherwise>
		                                
		                                        </c:otherwise>
		                                      </c:choose></dd>
                                        
                                         <dt>流水号</dt>
                                        <dd>${Enchashment.serialNum }</dd>
                                        
                                         <dt>取现后余额</dt>
                                        <dd>${Enchashment.accountBalance }</dd>

 										 <dt>是否已经操作</dt>
                                        <dd><form:select path="state" id="EnchashStateId">
                                        	<form:option value="0" label="否"/>
                                        	<form:option value="1" label="是"/>
                                        </form:select>
										</dd> 
                                    </dl>
                                    <td><input type="submit" value="提交" onclick="sb()"></td>
                                    </form:form>
                                        <hr>
                              </div>
   						</div>
   					</div>
 				</div>  
   			</div>
   		</div>
   </div>     
    <script src="${pageContext.request.contextPath}/static/assets/js/jquery-1.10.2.js"></script>
    <script src="${pageContext.request.contextPath}/static/assets/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/assets/js/jquery.metisMenu.js"></script>
    <script src="${pageContext.request.contextPath}/static/assets/js/dataTables/jquery.dataTables.js"></script>
    <script src="${pageContext.request.contextPath}/static/assets/js/dataTables/dataTables.bootstrap.js"></script>
        <script>
            $(document).ready(function () {

                if($("#EnchashStateId").val()=='1'){
                	$("#EnchashStateId").attr("disabled", true);
                }
                if($("#EnchashStateId").val()=='0'){
                	$("#EnchashStateId").attr("disabled", false);
                }
            });
        /*     var str="${selectByPrimaryKey.videoUrl}";
            alert(str);
            	var newstr=str.substring(0,str.length-3)+"ogg";
            alert(newstr); */
          
            function sb() {
            	if (window.confirm("是否确认要提交?")) { 
            		// 确认时做的操作 
            		alert("点的确认");
            	} else { 
            		// 取消时做的操作 
            		alert("点的取消");
            	} 
            }
    </script>
    <script src="${pageContext.request.contextPath}/static/assets/js/custom-scripts.js"></script>
</body>
</html>
